package com.cloud.easy.im.argeement.server;

/**
 * 返回错误请求响应
 *
 * @author wangjian
 * @version 0.1.0
 * @create 2020年09月16日11:21 上午
 */
public class ErrorResponse {

    private byte errorCode = -1;
    private String errorMsg = null;

    public byte getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(byte errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public ErrorResponse(byte errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
